package com.ms.demo.validator;

import java.lang.annotation.*;

/**
 * <p>Project:demo-NoRepeatSubmit
 * <p>Powered by ms on 2023-01-30 22:31:42
 *
 * @author ms
 * @version 1.0
 * @since 1.8
 */
@Documented
@Target({ElementType.METHOD})//作用到方法上
@Retention(RetentionPolicy.RUNTIME)//运行时有效
public @interface NoRepeatSubmit {

    /*
     * 两次提交间的间隔，单位：ms 默认3秒
     */
    int time() default 3*1000;

}
